<title>导航设置</title>
  
<div class="layui-card layadmin-header">
  <div class="layui-breadcrumb" lay-filter="breadcrumb">
    <a lay-href="">主页</a>
    <a><cite>设置</cite></a>
    <a><cite>导航设置</cite></a>
  </div>
</div>

  <div class="layui-fluid">
    <div class="layui-row layui-col-space15">
      <div class="layui-col-md12">
        <div class="layui-card">
        
  <!--选项卡-->
      <div class="layui-card-body">
          <div class="layui-tab layui-tab-brief" lay-filter="J_tabLi_seo">
            <ul class="layui-tab-title">
              <li{if $type eq 'index'} class="layui-this"{/if}><a lay-href="wendasns/seo/index?type=index">网站</a></li>
              <li{if $type eq 'question'} class="layui-this"{/if}><a lay-href="wendasns/seo/index?type=question">问答</a></li>
              <li{if $type eq 'article'} class="layui-this"{/if}><a lay-href="wendasns/seo/index?type=article">文章</a></li>
              <li{if $type eq 'topic'} class="layui-this"{/if}><a lay-href="wendasns/seo/index?type=topic">话题</a></li>
            </ul>
          </div>
      </div>
      
      
        <div class="layui-card-body">
        <blockquote class="layui-elem-quote">SEO信息中可以直接输入文字，也可以使用代码。<br>
</blockquote>
        
          <form class="layui-form" lay-filter="J_ajaxForm" action="{:url('wendasns/seo/edit')}" method="post">
          <input type="hidden" name="cm" value="{$type}">
          
          <div class="layui-form-item">
          <label class="layui-form-label">title [标题]</label>
          <div class="layui-input-block">
            <input type="text" name="title" class="layui-input" value="{$title}">
          </div>
        </div>
            
            <div class="layui-form-item">
          <label class="layui-form-label">description [描述]</label>
          <div class="layui-input-block">
            <input type="text" name="description" class="layui-input" value="{$description}">
          </div>
        </div>
        
            <div class="layui-form-item">
          <label class="layui-form-label">keywords [关键字]</label>
          <div class="layui-input-block">
            <input type="text" name="keywords" class="layui-input" value="{$keywords}">
          </div>
        </div>
            
            <div class="layui-form-item">
              <div class="layui-input-block">
                <button class="layui-btn" lay-submit lay-filter="J_ajax_submit_btn"><i class="layui-icon layui-icon-ok-circle"></i>提交</button>
              </div>
            </div>
          </form>
          
        </div>
      </div>
    </div>
  </div>
</div>
<script>
;!function(){
  var form = layui.form;
  
  form.render();
  
}();
</script>